package com.shoulder.boot.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shoulder.boot.demo.dto.DemoAddDTO;
import com.shoulder.boot.demo.vo.DemoVo;
import com.shoulder.boot.demo.dto.DemoModDTO;
import com.shoulder.boot.demo.dto.DemoQueryDTO;
import com.shoulder.boot.demo.entity.Demo;
import com.shoulder.core.fetch.BaseIds;

import java.util.List;

/**
* 样例信息 服务类
*
* @author 596767880@qq.com
* @since 2024-06-04 14:36:24
*/
public interface DemoService extends IService<Demo> {

    DemoVo look(String id);

    List<DemoVo> looks(BaseIds<String> baseIds);

    void del(String id);

    void batchDel(BaseIds<String> baseIds);

    List<DemoVo> listQuery(DemoQueryDTO queryDTO);

    Page<DemoVo> pageQuery(DemoQueryDTO queryDTO);

    void mod(DemoModDTO modDTO);

    void add(DemoAddDTO addDTO);

    List<DemoVo> demoTest();
}